﻿using AutoMapper;
using SmartParking.Dto.Req;
using SmartParking.Dto.Resp;
using SmartParking.Model;

namespace SmartParking;

public class SmartParkingApplicationAutoMapperProfile : Profile
{
    public SmartParkingApplicationAutoMapperProfile()
    {
        /* You can configure your AutoMapper mapping configuration here.
         * Alternatively, you can split your mapping configurations
         * into multiple profile classes for a better organization. */
        CreateMap<PricingPlanReq, PricingPlan>();
        CreateMap<PricingPlan, PricingPlanResp>();
        CreateMap<MultistepPriceReq, MultistepPrice>();
        CreateMap<MultistepPrice, MultistepPriceResp>();
    }
}
